package com.base.core.enums;

/**
 * @author
 * 通用状态
 */
public enum BaseStatusEnum implements CodeEnum{
	/**
	 * 启用
	 */
	ENABLED(new Byte("0"), "启用"),

	/**
	 * 禁用
	 */
	DISABLED(new Byte("1"), "禁用");


	/**
	 * 类型
	 */
	private final Byte code;

	/**
	 * 描述
	 */
	private final String description;

    BaseStatusEnum(Byte code, String description) {
        this.code = code;
        this.description = description;
    }


    public String getDescription() {
        return this.description;
    }

	@Override
	public Object getCode() {
		return this.code;
	}
}
